package exercise.examples.Eg3_11;

public class Example3_11 {
    public static void main(String[] args) {
        System.out.print("*|\t");
        for(int j=1;j<10;j++){
            System.out.printf("%2d\t",j);
        }
        System.out.println();
        for(int j=1;j<=10;j++){
            System.out.print("----");
        }
        System.out.println();

        for(int i = 1; i < 10 ; i++){
            System.out.print(i+"|\t");
            for(int j = 1 ; j < 10 ; j++){
                if(true){
                    //System.out.print( i +" * "+ j +" = ");
                    System.out.printf("%2d\t", i * j );
                }
                else System.out.print("\t");
            }
            System.out.println();
        }
    }
}
